package test.company;

import java.io.Serializable;

public class Yuangong implements Serializable {
    String name;//员工姓名
    int no;//工号
    int age;//年纪
    String sex;//性别
    String job;//岗位
    double xinshui;//员工薪水

    public void show(){
        System.out.println("这个员工是"+name+"年级"+age+"性别是"+sex+"工号是"+no+"岗位是"+job+"薪水是"+xinshui);
    }
}
